import { getRequest, postRequest, putRequest, deleteRequest } from '/@/lib/axios';

/**
 * 流程部署相关的 API 接口集合
 */

export const businessApi = {
  // 保存业务
  save: (params) => postRequest('/workflow/business/save', params),
  commit: (params) => postRequest('/workflow/business/commit', params),
  // 预览业务
  preview: (params) => postRequest('/workflow/business/preview', params),
};
